package mspbots.tsheets.business.core.times;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author Jay.Yang
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(value = "attendance_tsheet_time")
public class AttendanceTime implements Serializable {

    @Id
    private Long id;
    private Long tenantCode;
    private Long sheetId;
    private LocalDateTime logTime;
    private LocalDate date;
    private String tzStr;
    private String tz;
    private String type;
    private String tzTime;
    private Long sheetUserId;
    private String sheetUserName;
    private Long sysUserId;
    private Long duration;
    private String location;
    private String action;
    private LocalDateTime syncTime;
    private LocalDateTime updateTime;

}
